package com.wcsy.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.List;

/**
 * 文章标签
 * */
@TableName("tb_label")
public class Label {
  @TableId(type = IdType.INPUT)
  private long labelId;
  private String labelName;
  private String labelTime;
  private String userName;
  private String userImg;
  private long articleId;
  private String articleName;
  private long articleLike;
  private int userId;

  public int getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }

  public long getLabelId() {
    return labelId;
  }

  public void setLabelId(long labelId) {
    this.labelId = labelId;
  }

  public String getLabelName() {
    return labelName;
  }

  public void setLabelName(String labelName) {
    this.labelName = labelName;
  }

  public String getLabelTime() {
    return labelTime;
  }

  public void setLabelTime(String labelTime) {
    this.labelTime = labelTime;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserImg() {
    return userImg;
  }

  public void setUserImg(String userImg) {
    this.userImg = userImg;
  }

  public long getArticleId() {
    return articleId;
  }

  public void setArticleId(long articleId) {
    this.articleId = articleId;
  }

  public String getArticleName() {
    return articleName;
  }

  public void setArticleName(String articleName) {
    this.articleName = articleName;
  }

  public long getArticleLike() {
    return articleLike;
  }

  public void setArticleLike(long articleLike) {
    this.articleLike = articleLike;
  }

  @Override
  public String toString() {
    return "Label{" +
            "labelId=" + labelId +
            ", labelName='" + labelName + '\'' +
            ", labelTime='" + labelTime + '\'' +
            ", userName='" + userName + '\'' +
            ", userImg='" + userImg + '\'' +
            ", articleId=" + articleId +
            ", articleName='" + articleName + '\'' +
            ", articleLike=" + articleLike +
            '}';
  }
}
